<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of DisciplinaClass
 *
 * @author Gustavo
 */
include_once '../persistencia/FuncoesClass.php';
class DisciplinaClass {
    private $cod_disciplina;
    private $disciplina;
    private $pre_requisito;
    private $ementa;
    private $semestre;
    private $func;

    public function  __construct() {
        $this->func = new FuncoesClass();
    }

    public function  __destruct() {

    }

    public function getCod_disciplina(){
        return $this->cod_disciplina;
    }

    public function getDisciplina(){
        return $this->disciplina;
    }

    public function getPre_requisito(){
        return $this->pre_requisito;
    }

    public function getEmenta(){
        return $this->ementa;
    }

    public function getSemestre(){
        return $this->semestre;
    }

    public function setCod_disciplina($cod_disciplina){
        $this->cod_disciplina = $cod_disciplina;
    }

    public function setDisciplina($disciplina){
        $this->disciplina = $disciplina;
    }

    public function setPre_requisito($pre_requisito){
        $this->pre_requisito = $pre_requisito;
    }

    public function setEmenta($ementa){
        $this->ementa = $this->func->converteCharEsciais($ementa);
    }

    public function setSemestre($semestre){
        $this->semestre = $semestre;
    }
}
?>
